package com.zenith.yasoo.setup;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.zui.base.BaseEntity;

@Entity
@Table(name="uom_conversion_dated")
public class UomConversionDated extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@Id
	private UomUomKey uomUomKey;
	private Date fromDate;
	private Date thruDate;
	private Double conversionFactor;
	private String customMethodId;
	private Double decimalScale;
	private String roundingMode;
	/**
	 * @return the uomUomKey
	 */
	public UomUomKey getUomUomKey() {
		return uomUomKey;
	}
	/**
	 * @param uomUomKey the uomUomKey to set
	 */
	public void setUomUomKey(UomUomKey uomUomKey) {
		this.uomUomKey = uomUomKey;
	}
	/**
	 * @return the fromDate
	 */
	public Date getFromDate() {
		return fromDate;
	}
	/**
	 * @param fromDate the fromDate to set
	 */
	public void setFromDate(Date fromDate) {
		this.fromDate = fromDate;
	}
	/**
	 * @return the thruDate
	 */
	public Date getThruDate() {
		return thruDate;
	}
	/**
	 * @param thruDate the thruDate to set
	 */
	public void setThruDate(Date thruDate) {
		this.thruDate = thruDate;
	}
	/**
	 * @return the conversionFactor
	 */
	public Double getConversionFactor() {
		return conversionFactor;
	}
	/**
	 * @param conversionFactor the conversionFactor to set
	 */
	public void setConversionFactor(Double conversionFactor) {
		this.conversionFactor = conversionFactor;
	}
	/**
	 * @return the customMethodId
	 */
	public String getCustomMethodId() {
		return customMethodId;
	}
	/**
	 * @param customMethodId the customMethodId to set
	 */
	public void setCustomMethodId(String customMethodId) {
		this.customMethodId = customMethodId;
	}
	/**
	 * @return the decimalScale
	 */
	public Double getDecimalScale() {
		return decimalScale;
	}
	/**
	 * @param decimalScale the decimalScale to set
	 */
	public void setDecimalScale(Double decimalScale) {
		this.decimalScale = decimalScale;
	}
	/**
	 * @return the roundingMode
	 */
	public String getRoundingMode() {
		return roundingMode;
	}
	/**
	 * @param roundingMode the roundingMode to set
	 */
	public void setRoundingMode(String roundingMode) {
		this.roundingMode = roundingMode;
	}

	
}
